package com.psdi.controller;

/**
 * 键码类
 * 用于定义游戏中使用的键盘按键代码
 */
public class KeyCode {
    public static final int A = 65; // A键
    public static final int D = 68; // D键
    public static final int W = 87; // W键
    public static final int S = 83; // S键
    public static final int J = 74; // J键
    public static final int SPACE = 32; // 空格键
    public static final int UP = 38; // 上箭头
    public static final int DOWN = 40; // 下箭头
    public static final int LEFT = 37; // 左箭头
    public static final int RIGHT = 39; // 右箭头
    public static final int ESCAPE = 27; // ESC键
    public static final int ENTER = 10; // 回车键
    public static final int SHIFT = 16; // Shift键
}
